Skip to main content
Version: Next

4.1.4.3 Program Memory

image-20240604170139698

The Program Memory page provides all the functions of target chip firmware, including target chip code space import, export, erase, read, export, edit and other complex functions.

4.1.4.3.1 Add Firmware

When programming the target chip, you need to add the firmware of the target chip, and the quickest way to add the firmware is to click the Add Firmware button to bring up the firmware selection box, as shown below:

GIF 2024-6-4 17-06-19

Firmware types support Hex, S19, bin, elf, out, axf file formats.

caution

The hex file is the preferred file format for importing, the hex file contains enough segment information, address information for parsing, other than that, there are obvious shortcomings in other file formats, the bin file lacks address information and may require the user to correct the address of the imported firmware, elf, out, axf files are elf file format, but different compiler versions compile elf files. elf, out, axf files are all elf file formats, but different compiler versions compile elf files, and when parsing them, there may be compatibility problems that may lead to incomplete parsing and missing content.

tip

When importing firmware, if there are more than one Segment in the firmware, the Multi-Firmware Selection Dialogue Box will pop up, suggesting that the current firmware contains more than one firmware node, which is a normal phenomenon. When the Multi-Firmware Selection Dialogue Box appears, please check the information of the firmware carefully and select the correct firmware to import, or add it in a merged way.

danger

When you encounter an error when adding firmware, please investigate the cause of the error according to the error message.

4.1.4.3.2 Adding random data

GIF 2024-6-4 17-09-12

Click the Add Rand button to add the Add Random Data block, which can be configured by editing the Start Address and End Address, as shown above.

GIF 2024-6-4 17-10-38

In addition to this, you can fill the specified sectors by selecting them and by clicking Fill Sectors, as shown in the figure above.

4.1.4.3.3 Delete Firmware

Check the firmware in the list to delete it, as follows

GIF 2024-6-4 17-12-14

4.1.4.3.4 Edit data

GIF 2024-6-4 17-13-20

Firmware selections can be copied, pasted, jumped to the address, selections exported to a file and other functions, the demonstration operation is shown above.

4.1.4.3.5 Sector Erase

GIF 2024-6-4 17-14-37

PowerWriter provides page erase, full-sheet erase, in addition to the sector erase function, the use of reference as shown above: select the sector to be erased, click Erase Selected, you can erase the specified sector.

4.1.4.3.6 Read/Write

For the reading and writing methods of the Program Memory page, please refer to the toolbar: Check Empty, Erase, Read, Write, Check, Auto Function and other operations for details Tab Standard Access Operations.